def pr(a):#打印简写
    print (a) 
    return
    pr("你好")

def prpr(b):#n-n*2
    i=0
    a=int(input("你的数"))
    while i<a:
        print(a+i)
        i=i+1
    print(a*2)
    return
    prpr(10)

def intintint(c):#3+2+1
    c_1=int(input("你的一位数"))
    c_2=int(input("你的两位数"))
    c_3=int(input("你的三位数"))
    c_4=c_3+c_2+c_1
    print(c_4)
    intintint("1")

def forr(d):#for...
    b=int(input("for a in range (1,b)"))
    for a in range (1,b):
        print(a)

def yang(a,b):
    a=1
    b=0
    c=a+a

    print(a,b,b,b)
    print(a,a,b,b)
    print(a,c,a,b)
    yang(1,0)

def san(a):
    a=int(input("?"))
    a=a+1
    for i in range(1,a,1):
        b="*"
        print((b*i).center(i))
    san(10)

def jiao1(a):
    c=int(input("?"))
    c=c+1
    for i in range(1,c):
        for j in range(i):
            j=j+1
            print("%d*%d=%-3d"%(j,i,j*i),end="   ")
        print("")

def jiao(a):
    c=int(input("?"))
    c_1=c
    c_2=c
    for i in range(1,c):
        for j in range(i):
            c_1=c_2+c_1
            j=j+1
            print(c_1)
            c_2=c_2+c_1
            print(c_2)
    jiao(10)

def 印(a):
    print(a)
    印("hello")

def 如果(a,b):
    a=int(input("a"))
    b=int(input("b"))
    if a>b:
        print(a)
    if b>a:
        print(b)
    如果(10,10)
    如果(10,10)
    如果(10,10)
    
def 加(a,b):
    a=int(input("a"))
    b=int(input("b"))
    c=a+b
    print(f"a+b={c}")

def 减(a,b):
    a=int(input("a"))
    b=int(input("b"))
    if a>b:
        c=a-b
        print(f"a-b={c}")
    if b>a:
        c=b-a
        print(f"b-a={c}")
    if b==a:
        print(f"a-b=0")

def 乘(a,b):
    a=int(input("a"))
    b=int(input("b"))
    c=a*b
    print(f"a*b={c}")

def 除(a,b):
    a=int(input("a"))
    b=int(input("b"))
    if a>b:
        c=b/a
        print(f"b/a={c}")
    if b>a:
        c=a/b
        print(f"a/b={c}")
    if a==b:
        print("a/b=0")

def jjcc(a_1):
    a_1=int(input("1,2,3,4"))
    if a_1==1:
        加(1,1)
        a_1=a_1+4
    if a_1==2:
        减(1,1)
        a_1=a_1+3
    if a_1==3:
        乘(1,1)
        a_1=a_1+2
    if a_1==4:
        除(1,1)
        a_1==a_1+1
    if a_1==5:
        print("yes")

    jjcc(1)

def ziji(n):
    while n>1:
        ziji(n-2)
        print(n)
    if n==1 or n<1:
        print(n)
    ziji(10)

def zijii(n):
    if n==1:
        return 1
    else:
        return (zijii(n-1)+1)*2
    c=25
    for i in range(c,0,-1):
        print("第",c-i+1,"天","-","剩余",zijii(i),"个")
    print("第一天一共摘了",zijii(c),"个桃子")

def ziijii(n):
    if n==1:
        return 1
    else:
        return (zijii(n-1))
    c=10
    for i in range(c,0,-1):
        print("第",c-i+1,"天","-","剩余",zijii(i),"个")
    print("第一天一共摘了",zijii(c),"个桃子")
